package core.bmp.utils;

public class MathUtil {

	/** * 正弦的绝对值 * @param angle * @return */
	public static double sinAbs(double angle) {
		return Math.abs(sin(angle));
	}

	public static double sin(double angle) {
		return Math.sin(Math.toRadians(angle));
	}

	/** * 余弦的绝对值 * @param angle * @return */
	public static double cosAbs(double angle) {
		return Math.abs(cos(angle));
	}

	public static double cos(double angle) {
		return Math.cos(Math.toRadians(angle));
	}

}
